package com.xianggu.mybatis.mapper.entry;

import com.xianggu.mybatis.enums.SqlExecuteTypeEnum;

/**
 * @author chengjy
 * @date 2025/3/13
 */
public class MybatisSqlVo {// 存储sql属性

    private String sql;
    private SqlExecuteTypeEnum Type;

    private Class<?> resultType;

    public MybatisSqlVo(String sql, SqlExecuteTypeEnum type) {
        this.sql = sql;
        this.Type = type;
    }

    public String getSql() {
        return sql;
    }

    public SqlExecuteTypeEnum getType() {
        return Type;
    }

    public Class<?> getResultType() {
        return resultType;
    }
}
